import Layout from '@/layout'

// 节奏型路由
export default {
  path: '/system/pattern',
  component: Layout,
  hidden: false,
  permissions: ['system:pattern:list'],
  children: [
    {
      path: 'index',
      component: () => import('@/views/system/pattern/index'),
      name: 'Pattern',
      meta: { title: '节奏型管理', icon: 'dashboard' }
    },
    {
      path: 'jiezou/:id',
      component: () => import('@/views/system/pattern/jiezou'),
      name: 'PatternJieZou',
      meta: { title: '节奏文件管理', activeMenu: '/system/pattern' },
      hidden: true
    }
  ]
}